package com.mew.common.rest.game;

import com.mew.common.rest.sas.PlayChessSasRequest;
import com.mew.common.vo.LevelVO;
import lombok.*;

/**
 * @Author King.Song
 * @Date 2019/8/21 0021
 **/
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class BetAfterRequest {

    private long uid;
    private long relateInoutId;
    private int gameId;
    private int roomId;
    private int tableId;
    private int seatNo;

    private String betArray;
    private long bet;
    private long payment;
    private String paymentArray;
    private LevelVO levelVO;

    private int rollerId;
    private int roomRecord = 1; // 0表示不记录，1表示记录

    private int winType; // 0: 没有； 1，免费， 3， 特殊，4，jackpot
    private int betTimes; //倍数
    private String iconResult;
    private String bankerResult;
    private boolean special;  // 是否中特殊 true 表示中特殊

    private long ino;
    private int tax;

    public PlayChessSasRequest toPlayChessSasRequest(){
        return PlayChessSasRequest.builder()
                .userId(this.uid)
                .gameId(this.gameId)
                .roomId(this.roomId)
                .bet(this.bet)
                .payment(this.payment)
                .tax(this.tax)
                .build();
    }

}
